﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TemplateUser.Master" AutoEventWireup="true" CodeBehind="policy.aspx.cs" Inherits="ProjectSem3.WebForm10" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div style="margin:60px 10px 0 5px; height:534px;">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px" 
        CellPadding="2" ForeColor="Black" GridLines="None" Width="660px" 
        AllowPaging="True" onpageindexchanging="GridView1_PageIndexChanging">
        <AlternatingRowStyle BackColor="PaleGoldenrod" />
        <Columns>
            <asp:BoundField DataField="policyname" HeaderText="Policy Name" >
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" 
                Font-Size="12px" />
            </asp:BoundField>
            <asp:BoundField DataField="policydesc" HeaderText="Policy Description" >
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" 
                Font-Size="12px" />
            </asp:BoundField>
            <asp:BoundField DataField="amount" HeaderText="Amount" >
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" 
                Font-Size="12px" />
            </asp:BoundField>
            <asp:BoundField DataField="emi" HeaderText="EMI" >
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" 
                Font-Size="12px" />
            </asp:BoundField>
            <asp:HyperLinkField DataTextField="hospitalname" HeaderText="Hospital Name" 
                NavigateUrl="~/HospitalDetail.aspx" DataNavigateUrlFields="hospitalid" 
                DataNavigateUrlFormatString="HospitalDetail.aspx?id={0}">
                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" 
                Font-Size="12px" />
            </asp:HyperLinkField>
        </Columns>
        <FooterStyle BackColor="Tan" />
        <HeaderStyle BackColor="Tan" Font-Bold="True" />
        <PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" 
            HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
        <SortedAscendingCellStyle BackColor="#FAFAE7" />
        <SortedAscendingHeaderStyle BackColor="#DAC09E" />
        <SortedDescendingCellStyle BackColor="#E1DB9C" />
        <SortedDescendingHeaderStyle BackColor="#C2A47B" />

<SortedAscendingCellStyle BackColor="#FAFAE7"></SortedAscendingCellStyle>

<SortedAscendingHeaderStyle BackColor="#DAC09E"></SortedAscendingHeaderStyle>

<SortedDescendingCellStyle BackColor="#E1DB9C"></SortedDescendingCellStyle>

<SortedDescendingHeaderStyle BackColor="#C2A47B"></SortedDescendingHeaderStyle>
    </asp:GridView>
</div>
</asp:Content>
